'''
Created on 14/04/2013

@author: victor
'''
from . import app

app.config.update(
    #DATABASE = '/tmp/flaskr.db',
    DEBUG = True,
    USERNAME = 'postgres',
    PASSWORD = 'postgres',
    #SERVER_NAME = '127.0.0.1',
    #SERVER_PORT = 5000,
    SECRET_KEY = 'A0Zr98j/3yX R~XHH!jmN]LWX/,?RT'
)

class Config(object):
    DEBUG = False
    TESTING = False
    
class Development(Config):
    DEBUG = True
    SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:postgres@localhost:5432/postgres'
class Production(Config):
    DEBUG = True
    SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:postgres@localhost:5432/produccion'

